<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>首页</title>
</head>
<body>
    <h1>首页</h1>
    <h3>日期和数值类型转换</h3>
    <form th:action="@{/save/product}" method="get">
        <input type="text" name="productDate" value="1992-10-1 2:23:15">
        <br>
        <input type="text" name="productPrice" value="111,222,333.444">
        <button type="submit">保存</button>
    </form>

    <h3>自定义类型转换</h3>
    <form th:action="@{/save/student}" method="post">
        地址：<input type="text" name="address" value="aaa,bbb,ccc">
        <button type="submit">保存</button>
    </form>

</body>
</html>